package com.housekeeping.housekeeping.advertisingmanagement.service;/*
 * @author  pyh
 * @date  2021/1/22 0022 上午 9:34
 * @version 1.0
 * @since JDK1.8_241
 */

import com.housekeeping.housekeeping.advertisingmanagement.entity.AdMessages;
import com.housekeeping.housekeeping.advertisingmanagement.utils.Page;

import java.sql.SQLException;
import java.util.List;

public interface SearchService {
    //状态值查询的逻辑
    Page<List<AdMessages>> getStatusList(int status,int page,int size) throws SQLException;
    //广告名称和状态值的联合查询
    Page<List<AdMessages>> getSearchList(int status,String name,int page,int size);
}
